package day0112HomeWork;

public class Demo {
	
	public static void main(String[] args) {
		MyDoor myDoor = new MyDoor();
		myDoor.alarm();
		myDoor.close();
		myDoor.open();
		
		IAlarm iAlarm = new MyDoor(); 
				
		}
		
	
}
